<?php

namespace app\common\model;

use think\Model;

class Article extends Model
{
    protected $autoWriteTimestamp = true;
    
    public function detail() {
        return $this->hasOne('ArticleDetail','aid','id');
    }
}
